package com.jiazhong.mingxing.boot.boot10.config;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import org.springframework.context.annotation.Configuration;

@OpenAPIDefinition(
        info = @Info(
                title = "我是swagger3",
                description = "这是我的第一个swagger3",
                version = "v1.0.1",
                contact = @Contact(
                        name = "张三",
                        email = "zhangsan@qq.com"
                )
        )
)
@Configuration
public class SwaggerConfig {


    //@Bean
    /*public OpenAPI openAPI() {
        return new OpenAPI().info(
                new Info().title("我是swagger3")
                        .description("这是我的第一个swagger").version("v1.0.0")
        );
    }*/
}
